[IA64] Move PERFC() from asmmacro.h
authorAlex Williamson <alex.williamson@hp.com>
Fri, 14 Dec 2007 20:49:04 +0000 (13:49 -0700)
committerAlex Williamson <alex.williamson@hp.com>
Fri, 14 Dec 2007 20:49:04 +0000 (13:49 -0700)
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
xen/arch/ia64/xen/hyperprivop.S
xen/include/asm-ia64/linux-xen/asm/asmmacro.h

index 5c2ba5a528b5a4755ab4e7805955d6fdc14b5a50..dd8aba66276314bd7af8d852d78c67d8a26f5134 100644 (file)
@@ -18,6 +18,9 @@
 #include <asm/vmmu.h>
 #include <public/xen.h>
 
+#ifdef PERF_COUNTERS
+#define PERFC(n) (THIS_CPU(perfcounters) + (IA64_PERFC_ ## n) * 4)
+#endif
 
 #define PAGE_PHYS      (__DIRTY_BITS | _PAGE_PL_PRIV | _PAGE_AR_RWX)
 
index 73c51e2bc4076f0ee41101f3ff1496f351a3d677..77af457f4ad724d83094f6df4e26fb4f68d0e924 100644 (file)
@@ -108,8 +108,4 @@ name:
 # define dv_serialize_instruction
 #endif
 
-#ifdef PERF_COUNTERS
-#define PERFC(n) (THIS_CPU(perfcounters) + (IA64_PERFC_ ## n) * 4)
-#endif
-
 #endif /* _ASM_IA64_ASMMACRO_H */